package com.handsome.状态模式;

/**
 * @author niechun
 * @date 2023/3/26 16:45
 */
public class DispenseOutState implements State{

    RaffleActivity activity;

    public DispenseOutState(RaffleActivity activity) {
        this.activity = activity;
    }

    @Override
    public void deduce() {
        System.out.println("不能扣除积分");
    }

    @Override
    public boolean raffle() {
        System.out.println("不能抽奖");
        return false;
    }

    @Override
    public void dispensePrize() {
        System.out.println("不能领奖品");
    }
}
